<extend name="Public/base"/>

<block name="body">




  <form method="post" class="J_ajaxForm" action="{:U('term/listorders')}">
      <div class="table_list">
	    <table width="100%" class="table table-hover">
	        <thead>
	          <tr>
	            <th width="50">ID</th>
	            <th>分类名称</th>
	         <th>类型</th>
	            <th>描述</th>
	            <th width="320">操作</th>
	          </tr>
	        </thead>
	        <tbody>
	        
	        	<foreach name="list" item="vo">
	        	<tr>
		            <td>{$vo.id}</td>
		            <td>{$vo.name}</td>
                     <td>{$types[$vo[type]]}</td>
		        
		            <td>{$vo.remark}</td>
		            <td>
                   <a href="{:U('db_list',array('catid'=>$vo['id']))}" >管理内容</a>|
		            	<a href="{:U('edit_cate',array('id'=>$vo['id']))}" >修改</a>
			           <a href="{:U('delete_cate',array('id'=>$vo['id']))}" class="ajax-del" >|删除</a>
			        </td>
	          	</tr>
	          	</foreach>
			</tbody>
	      </table>
  </div>
    </form>


</block>


